package org.aoao;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//(scanBasePackages = {"org.aoao.controller"})
@SpringBootApplication
public class BootStarter01 {
    public static void main(String[] args) {
//        SpringApplication.run(BootStarter01.class);
        // 得到 springApplication 对象
        SpringApplication springApplication=new SpringApplication(BootStarter01.class);

        // 启动springBoot
        springApplication.run();
    }
}
